package Thread;

/**
 * @projectName: JUC
 * @package: Thread
 * @className: isOpenThread
 * @author: 冷环渊 doomwatcher
 * @description: TODO
 * @date: 2022/3/1 20:05
 * @version: 1.0
 */
public class isOpenThread {
    public static void main(String[] args) {
        //获取CPU核心数
        //CPU密集型，IO密集型
        System.out.println(Runtime.getRuntime().availableProcessors());
    }
}
